package concrete;


//Commit Sample
public class Board {


	//VARIABLES	
	private Container[] board = new Container[40];


	//CONSTRUCTOR
	public Board() {

		board[0] = new Container("Tile",653,653,new Tile("Go"));
		board[1] = new Container("Estate",591,653,new Estate("Old Kent Road",60,30,2,"brown",50,50,10,30,90,160,250));
		board[2] = new Container("Community",529,653,new Deck("Community Chest"));
		board[3] = new Container("Estate",467,653,new Estate("WhiteChapel Road",60,30,4,"brown",50,50,20,60,180,320,450));
		board[4] = new Container("Tax",405,653,new Tax("Income Tax",200));
		board[5] = new Container("Station",343,653,new Station("Kings Cross Station",200,100,25,50,100,200));
		board[6] = new Container("Estate",281,653,new Estate("The Angel Islington",100,50,6,"cyan",50,50,30,90,270,400,550));
		board[7] = new Container("Chance",219,653,new Deck("Chance Cards"));
		board[8] = new Container("Estate",157,653,new Estate("Euston Road",100,50,6,"cyan",50,50,30,90,270,400,550));
		board[9] = new Container("Estate",95,653,new Estate("Pentonville Road",120,60,8,"cyan",50,50,40,100,300,450,600));
		board[10] = new Container("Jail",0,653,new Container("In Jail",46,635));
		
		board[11] = new Container("Estate",0,564,new Estate("Pall Mall",140,70,10,"magenta",100,100,50,150,450,625,750));
		board[12] = new Container("Utility",0,503,new Utility("Electric Company",150,75,4,10));
		board[13] = new Container("Estate",0,422,new Estate("Whitehall",140,70,10,"magenta",100,100,50,150,450,625,750));
		board[14] = new Container("Estate",0,381,new Estate("Northumberland Avenue",160,80,12,"magenta",100,100,60,180,500,700,900));
		board[15] = new Container("Station",0,320,new Station("Marlyebone Station",200,100,25,50,100,200));
		board[16] = new Container("Estate",0,259,new Estate("Bow Street",180,90,14,"orange",100,100,70,200,550,750,950));
		board[17] = new Container("Community",0,198,this.board[2].getDeck());
		board[18] = new Container("Estate",0,137,new Estate("Marlborough Street",180,90,14,"orange",100,100,70,200,550,750,950));
		board[19] = new Container("Estate",0,76,new Estate("Vine Street",200,100,16,"orange",100,100,80,220,600,800,1000));
		board[20] = new Container("Tile",0,0,new Tile("Free Parking"));
		
		board[21] = new Container("Estate",95,0,new Estate("Strand",220,110,18,"red",150,150,90,250,700,875,1050));
		board[22] = new Container("Chance",157,0,this.board[7].getDeck());
		board[23] = new Container("Estate",219,0,new Estate("Fleet Street",220,110,18,"red",150,150,90,250,700,875,1050));
		board[24] = new Container("Estate",281,0,new Estate("Trafalgar Square",240,120,20,"red",150,150,100,300,750,925,1100));
		board[25] = new Container("Station",343,0,new Station("Fenchurch St. Station",200,100,25,50,100,200));
		board[26] = new Container("Estate",405,0,new Estate("Leicester Square",260,130,22,"yellow",150,150,110,330,800,975,1150));
		board[27] = new Container("Estate",467,0,new Estate("Coventry Street",260,130,22,"yellow",150,150,110,330,800,975,1150));
		board[28] = new Container("Utility",529,0,new Utility("Water Works",150,75,4,10));
		board[29] = new Container("Estate",591,0,new Estate("Piccadilly",280,140,24,"yellow",150,150,120,360,850,1025,1200));
		board[30] = new Container("Tile",653,0,new Tile("Go to Jail"));
		
		board[31] = new Container("Estate",653,76,new Estate("Regent Street",300,150,26,"green",200,200,130,390,900,1100,1275));
		board[32] = new Container("Estate",653,137,new Estate("Oxford Street",300,150,26,"green",200,200,130,390,900,1100,1275));
		board[33] = new Container("Community",653,198,this.board[2].getDeck());
		board[34] = new Container("Estate",653,259,new Estate("Bond Street",320,160,28,"green",200,200,150,450,1000,1200,1400));
		board[35] = new Container("Station",653,320,new Station("Liverpool Street Station",200,100,25,50,100,200));
		board[36] = new Container("Chance",653,381,this.board[7].getDeck());
		board[37] = new Container("Estate",653,442,new Estate("Park Lane",350,30,35,"blue",200,50,175,500,1100,1300,1500));
		board[38] = new Container("Tax",653,503,new Tax("Super Tax",100));
		board[39] = new Container("Estate",653,564,new Estate("Mayfair",400,200,50,"blue",200,200,200,600,1400,1700,2000));
	}
	
	public Container getContainer(int num) {
		return this.board[num];
	}
	
	public void setContainer(int num, Container container) {
		this.board[num] = container;
	}

}
